<?php

namespace app\common\logic;

use app\common\model\AppModel;

use app\common\model\ShopModel;



class CreateShopLogic{

    public static function create($shop_id,$from_type=1)

    {

        $shop = ShopModel::find($shop_id);

        $app = AppModel::find($shop->app_id);

        $iden=$app->iden;

        $className="\\app\\".$iden."\\logic\\ShopInitLogic";

        $ShopInit = new $className();

        $ShopInit->init($shop_id,$from_type);

    }





}

